/**
*  \file  PreFilter.c
*  \brief ǰ���˲���.
*/

#include "../../head/mPreFilter/PreFilter.h"
#include "../../head/mCommon/FirFilter.h"
/**
*  \brief  �������ź�ͨ��ǰ���˲���.
*
*  \param [in]  x                    �ź�����.
*  \param [in]  ADC_Fs_Hz            ������.
*  \param [inout]  ModuleStruct      ǰ���˲����ṹ������.
*  \param [out] y                    �˲����ź�����.
*  \return                           Empty
*
*/


void  PreFilter(double* x, int ADC_Fs_Hz, PtrPreFilterStruct ModuleStruct,  double* y)
{


	//ͨ����ͨ�˲���
    FirFilter(x, ModuleStruct->RcvFilt.b, ModuleStruct->RcvFilt.Z, ADC_Fs_Hz, B2_LENGTH, y);

}
